import pose_recognition as pr
def startcode(videoInput, sideInput, heightInput):
    video_path = videoInput  # 替换为你的视频路径
    side = sideInput
    height_real = heightInput


    detector = pr.PoseDetector(video_path,height_real,side)
    # detector.close()
    # 启动动画
    detector.start_animation()
    # try:
    #     detector.__del__()
    #     print("运行完成")
    # except Exception:
    #     detector.__del__()
    #     print("运行完成")
    return None